function login_exit(){
            toastr.options = {
			  "closeButton": true,
			  "debug": false,
			  "progressBar": true,
			  "positionClass": "toast-bottom-full-width",
			  "onclick": null,
			  "showDuration": "400",
			  "hideDuration": "1000",
			  "timeOut": "7000",
			  "extendedTimeOut": "1000",
			  "showEasing": "swing",
			  "hideEasing": "linear",
			  "showMethod": "fadeIn",
			  "hideMethod": "fadeOut"
			}
			//Ajax调用处理
            var login_exit_return = $.ajax({
               type: "POST",
			   url: "index.php?m=user&c=user_login&a=login_exit",
			   data:"",
               async: false
            }).responseText;
			if (login_exit_return == "1") {
				toastr.success("成功退出，感谢您的使用！");
				location.href="index.php";  
			} else {
				toastr.error("请勿提交非法数据！");
			}
}
